home *** CD-ROM | disk | FTP | other *** search
- Installing the New Sendmail Configuration
-
- First, you need a 'sanctioned' copy of '/etc/hosts', which includes
- common aliases for local hosts. A full-blown copy of '/etc/hosts'
- is available for anonymous ftp from the host 'harvard' under the
- name 'hosts'. There is also a list of local hosts only under the
- name 'localhosts'. While you are there, you should also get copies of
- the files 'mailhosts', 'mailhosts.ether', 'mailhosts.bitnet',
- 'mailhosts.decnet', and 'mailhosts.arpadomains' from the
- subdirectory 'mail', and install them in the directory '/etc'.
-
- Make a sendmail.cf according to the directions already given.
- If you talk to any hosts via UUCP, generate a 'mailhosts.uucp' file
- by saying 'make mailhosts.uucp', and copying this into the directory '/etc'.
-
- To install the new 'sendmail.cf', simply copy it into /usr/lib, e.g.
- 'cp sendmail.cf /usr/lib'
-
- Sendmail allows you to create a frozen configuration file, for quicker
- startup time. I currently DO NOT recommend this - not having a frozen
- configuration file allows you to update the
- '/usr/local/lib/mail/mailhost' files without having to re-freeze the
- configuration file. It also allows you to share a single
- /usr/lib/sendmail.cf via NFS without having to maintain multiple frozen
- configuration files.
-
- You will also usually want to kill and restart the sendmail daemon.
- Use '/bin/ps' to find the pid of the sendmail daemon, and
- use 'kill -9 pid'. Starting a new daemon is usually done with command
- '/usr/lib/sendmail -bd -q1h'
- (There should be an automatic way to do this.)
-